<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>语法 | 前言</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="gitbook/style.css">
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="./settings.html" />
    
    
    <link rel="prev" href="./commands.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="0.3"
        data-chapter-title="语法"
        data-filepath="syntax.md"
        data-basepath="."
        data-revision="Wed Apr 27 2016 12:23:04 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                
                        <i class="fa fa-check"></i>
                        
                        GitBook
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="0.1" data-path="installation.html">
            
                
                    <a href="./installation.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>0.1.</b>
                        
                        安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="0.2" data-path="commands.html">
            
                
                    <a href="./commands.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>0.2.</b>
                        
                        命令
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="0.3" data-path="syntax.html">
            
                
                    <a href="./syntax.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>0.3.</b>
                        
                        语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="0.4" data-path="settings.html">
            
                
                    <a href="./settings.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>0.4.</b>
                        
                        配置
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="0.5" data-path="plugins.html">
            
                
                    <a href="./plugins.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>0.5.</b>
                        
                        插件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="0.6" data-path="bookjson.html">
            
                
                    <a href="./bookjson.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>0.6.</b>
                        
                        json
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >前言</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x8BED;&#x6CD5;">&#x8BED;&#x6CD5;</h1>
<p>1.&#x4EE3;&#x7801;&#x7247;&#x6BB5;:   </p>
<pre><code class="lang-gitbook">```c(&#x8868;&#x793A;&#x662F;c&#x8BED;&#x8A00;&#x7684;&#x4EE3;&#x7801;&#x7247;&#x6BB5;)  
    int main(){   
      printf(&quot;hello world!\n&quot;);   
    }```
</code></pre>
<p>2.&#x94FE;&#x63A5;:   </p>
<pre><code class="lang-gitbook">[&#x767E;&#x5EA6;](http://www.baidu.com)====&gt;&#x663E;&#x793A;&#x5916;&#x90E8;&#x7684;&#x94FE;&#x63A5;
[&#x7B2C;&#x4E09;&#x4E2A;](#title)====&gt;&#x663E;&#x793A;&#x672C;&#x9875;&#x9762;&#x5185;&#x7684;&#x94FE;&#x63A5;,title&#x4E3A;&#x5185;&#x90E8;&#x5185;&#x5BB9;&#x7684;&#x6807;&#x9898;&#x7684;&#x540D;&#x5B57;;
</code></pre>
<p>3.&#x63D2;&#x5165;&#x672C;&#x5730;&#x56FE;&#x7247;:     </p>
<pre><code class="lang-gitbook">![](29b1.png)
</code></pre>
<p>4.&#x63D2;&#x5165;&#x7F51;&#x7EDC;&#x56FE;&#x7247;:</p>
<pre><code class="lang-gitbook">![](http://www.52ij.com/uploads/allimg/160317/1110104P8-4.jpg)
</code></pre>
<p>5.&#x5F15;&#x7528;</p>
<pre><code class="lang-gitbook">&gt;&#x5F15;&#x7528;&#x5185;&#x5BB9;
</code></pre>
<p>6.&#x65E0;&#x5E8F;&#x5217;&#x8868;</p>
<pre><code class="lang-gitbook">&#x4F7F;&#x7528;*,-,&#x6216;&#x8005;+ &#x90FD;&#x53EF;&#x4EE5;
</code></pre>
<p>7.&#x6709;&#x5E8F;&#x5217;&#x8868;</p>
<pre><code class="lang-gitbook">&#x76F4;&#x63A5;&#x4F7F;&#x7528;&#x6570;&#x5B57;
</code></pre>
<p>8.&#x5220;&#x9664;</p>
<pre><code class="lang-gitbook">~~&#x8981;&#x663E;&#x793A;&#x7684;&#x9700;&#x8981;&#x5220;&#x9664;&#x7684;&#x5185;&#x5BB9;~~
</code></pre>
<p>9.&#x9ED1;&#x4F53;</p>
<pre><code class="lang-gitbook">**&#x4EE5;&#x9ED1;&#x4F53;&#x663E;&#x793A;&#x7684;&#x5185;&#x5BB9;**
</code></pre>
<p>10.&#x659C;&#x4F53;</p>
<pre><code class="lang-gitbook">*&#x4EE5;&#x659C;&#x4F53;&#x663E;&#x793A;&#x7684;&#x5185;&#x5BB9;*
</code></pre>
<p>11.&#x6807;&#x9898;</p>
<pre><code class="lang-gitbook">#&#x8868;&#x793A;H1,##&#x8868;&#x793A;H2,&#x4F9D;&#x6B21;&#x7C7B;&#x63A8;;
</code></pre>
<p>12.&#x6362;&#x884C;</p>
<pre><code class="lang-gitbook">&#x6362;&#x884C;:&#x5185;&#x5BB9;&#x540E;&#x9762;&#x6253;&#x4E09;&#x4E2A;&#x7A7A;&#x767D;
</code></pre>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="./commands.html" class="navigation navigation-prev " aria-label="Previous page: 命令"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="./settings.html" class="navigation navigation-next " aria-label="Next page: 配置"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

    
    <script src="gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
